<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page language="java" import="com.jxLC.Action.*"%>
<%@ page language="java" import="com.jxLC.Model.*" %>
<%@ page language="java" import="com.jxLC.Service.*" %>
<%@include file="/checkLoginSession.jsp" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
FilesService filesService=new FilesService();
List<Files> files=filesService.getfile();
%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
    <title>:::江西低碳-管理员后台:::</title>
	<link href="/mycss/my.css"  rel="stylesheet" type="text/css" />
	<link href="/mycss/details.css"  rel="stylesheet" type="text/css" />
	<script type="text/javascript" charset="utf-8" src="kindeditor/kindeditor.js"></script>
	<script type="text/javascript" src="/myjs/my.js"></script>
	<style type="text/css">
	 table,td,th{ font-size:14px； font-family: "宋体 "; border:1px solid #339966;border-collapse:collapse; }
	 .tcolumn{background:#EBFCF3; font-size:14px;font-weight: bold;width:120px;}
	 .tcolumn1{background:#EBFCF3; font-size:14px;font-weight: bold;height:50px;}
	 #m{background-color:white}
	 #ma{height:30px; background-image:url(/my.photo/photo/h3.jpg); color:white;padding-top:5px;}
	 #mb{float: left; width:240px;height:100%; background-color: ; margin:3px;}
	 #mb2{height:30px;background-color:#339966;width:220px; color:white; padding:6px;margin-top:2px;font-weight: bold; }
	 #mb3 a{ text-decoration: none; color:#006699;font-size:14px; font-weight: bold;}
	 #mb3 a:hover{color:green}
	 #mc5{margin-top:40px;}
	 #mc{float: left;}
	 #mc1{height:10px;background-color: #339966; width:98%;padding-left:4px;margin-top:4px;overflow:hidden;}
	 #mc2{padding-left:10px;margin-top:30px;border-bottom:1px dashed green;width:98%;}
	 #mc3{margin-top:30px;}
    </style>
  </head>
  
 <body style="background-color:#EBFCF3">
   <s:include value="/admin/header.jsp"></s:include>
	<center><div id="m" >
       <s:include value="/admin/left.jsp"></s:include>
       <div id="mc">
          <div id="mc1"></div>
          <div id="mc2">
           <h4 align="left"><img  src="/my.photo/photo/to.gif"><font style="color:black;font-family: 仿宋 ;font-weight: bold;">当前用户：</font><font style="color:blue;font-family: 仿宋 ;font-weight: bold;">管理员</font></h4>
           <h4 align="left"><img  src="/my.photo/photo/to.gif"><font style="color:black;font-family: 仿宋 ;font-weight: bold;">当前位置：</font><font style="color:blue;font-family: 仿宋 ;font-weight: bold;">管理员信息修改</font></h4>
          </div>
          <div id="mc3">
          <div id="mc5"><font style="font-size:16px;font-weight:bold">修改您的个人信息</font></div>
          <form action="modify" method="post">
           <table width="600" height="250" style="margin-top:10px">
             <%
              String id=request.getParameter("CAdmin_id");
              AdminService adminService=new AdminService();
              Admin a=adminService.getadmin(id);
              %>
             <tr><td class="tcolumn" align="center">编号</td><td align="center"  style="width:180px"><%=a.getCNum() %></td><td align="center" >&nbsp;&nbsp;<input type="text" readonly="readonly" name="CNum" value="<%=a.getCNum() %>"/></td></tr>
             <tr><td class="tcolumn" align="center">姓名</td><td align="center" style="width:180px"><%=a.getCAdmin_name() %></td><td align="center">&nbsp;&nbsp;<input type="text" name="CAdmin_name" value="<%=a.getCAdmin_name() %>" onmouseover="this.focus()" onfocus="this.select()"/></td></tr>
             <tr><td class="tcolumn" align="center">密码</td><td align="center" style="width:180px"><%=a.getCAdmin_password() %></td><td align="center">&nbsp;&nbsp;<input type="text" name="CAdmin_password" value="<%=a.getCAdmin_password() %>" onmouseover="this.focus()" onfocus="this.select()"/></td></tr>
             <tr><td class="tcolumn" align="center">联系方式</td><td align="center" style="width:180px"><%=a.getCAdmin_telnum() %></td><td align="center">&nbsp;&nbsp;<input type="text" name="CAdmin_telnum" value="<%=a.getCAdmin_telnum() %>" onmouseover="this.focus()" onfocus="this.select()"/></td></tr>
             <tr><td class="tcolumn" align="center">住址</td><td align="center" style="width:180px"><%=a.getAddr() %></td><td align="center">&nbsp;&nbsp;<input type="text" name="addr" value="<%=a.getAddr()%>" onmouseover="this.focus()" onfocus="this.select()"/></td></tr>
             <tr>
              <td colspan="3" align="center" class="tcolumn1">
              <input type="submit" style="font-weight:bold;width:60px;" value="提交" onclick="return confirm('确定修改吗')";>
              <input type="reset" style="font-weight:bold;width:60px;"  value="清除">
              </td>
             </tr>
           </table>
           </form>
          </div>
       </div>
	</div></center>
	<s:include value="/admin/tail.jsp"></s:include>
</body>
</html>
